#!/usr/bin/python



import syslog;

import time;





while(1):
  
	syslog.openlog(ident="MotiontSensor",logoption=syslog.LOG_PID,facility=syslog.LOG_LOCAL1);
    
	syslog.syslog(syslog.LOG_INFO,'<info> No Motion detected');
    
	time.sleep(2);
 
	syslog.closelog();